package com.x.erp.rpc;

import java.util.List;

import com.x.erp.model.Car;
import com.x.erp.model.CarFavorite;
import com.x.framework.rpc.BaseRpcService;

/**
 * 
 * 车辆收藏信息服务
 * 
 * @author pansong
 *
 */
public interface CarFavoriteRpcService extends BaseRpcService {
	/**
	 * 查询车辆收藏列表
	 * 
	 * @param carFavorite
	 * @return
	 */
	public List<Car> selectCarFavoriteList(CarFavorite carFavorite);
	/**
	 * 查询车辆收藏信息
	 * 
	 * @param carFavorite
	 * @return
	 */
	public CarFavorite selectCarFavorite(CarFavorite carFavorite);

	/**
	 * 新增车辆收藏
	 * 
	 * @param carFavorite
	 * @return
	 */
	public CarFavorite insertCarFavorite(CarFavorite carFavorite);

	/**
	 * 删除车辆收藏
	 * 
	 * @param carFavorite
	 * @return
	 */
	public int deleteCarFavorite(CarFavorite carFavorite);
}
